Popup Window State
class PopupWindowState(val browser: Browser, val dragAndDropOptions: State<DragAndDropOptions>, bounds: Rect = DEFAULT_POPUP_BOUNDS, onClose: (PopupWindowState) -> Unit, scope: CoroutineScope) : AutoCloseable
State of PopupWindow.
Since
8.0.0
Parameters
browser
The popup browser.
drag And Drop Options
The state of drag-and-drop options to be applied to the popup.
bounds
The initial bounds of the popup.
scope
The coroutine scope used to update Compose observables.
on Close
A callback to be called when the popup is closed.
Constructors
Link copied to clipboard
constructor(browser: Browser, dragAndDropOptions: State<DragAndDropOptions>, bounds: Rect = DEFAULT_POPUP_BOUNDS, onClose: (PopupWindowState) -> Unit, scope: CoroutineScope)